package ManyToMay;

import Util.Conexao;
import Util.HibernateUtil;

import org.hibernate.Criteria;
import org.hibernate.Session;
import org.hibernate.criterion.Order;
import org.hibernate.criterion.Restrictions;

public class CursoDao {
 
	Conexao cx = new Conexao();
	
	public void AddCurso (Curso c)
	{
		cx.OpenConection();
		cx.getSessao().save(c);
		cx.CloseConection();
	}

}
